home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / CBuilder / Info / TeachU14 / SAMS / Code / Day13 / webbrwsu.h < prev   
Encoding:
C/C++ Source or Header  |  1998-02-08  |  1.7 KB  |  45 lines

  1. //---------------------------------------------------------------------------
  2. #ifndef WebBrwsUH
  3. #define WebBrwsUH
  4. //---------------------------------------------------------------------------
  5. #include <vcl\Classes.hpp>
  6. #include <vcl\Controls.hpp>
  7. #include <vcl\StdCtrls.hpp>
  8. #include <vcl\Forms.hpp>
  9. #include <vcl\ComCtrls.hpp>
  10. #include <vcl\ExtCtrls.hpp>
  11. #include <vcl\NMHTML.hpp>
  12. #include <vcl\OleCtrls.hpp>
  13. //---------------------------------------------------------------------------
  14. class TWebMain : public TForm
  15. {
  16. __published:    // IDE-managed Components
  17.     TPanel *Panel1;
  18.     TComboBox *URLComboBox;
  19.     TStatusBar *StatusBar;
  20.     THTML *HTML;
  21.     TButton *GoBtn;
  22.     TButton *StopBtn;
  23.     TButton *ReloadBtn;
  24.     TButton *SourceBtn;
  25.     void __fastcall URLComboBoxClick(TObject *Sender);
  26.     void __fastcall URLComboBoxKeyPress(TObject *Sender, char &Key);
  27.     void __fastcall HTMLUpdateRetrieval(TObject *Sender);
  28.     void __fastcall HTMLEndRetrieval(TObject *Sender);
  29.     void __fastcall GoBtnClick(TObject *Sender);
  30.     void __fastcall StopBtnClick(TObject *Sender);
  31.     void __fastcall ReloadBtnClick(TObject *Sender);
  32.     void __fastcall SourceBtnClick(TObject *Sender);
  33.     void __fastcall HTMLDoRequestDoc(TObject *Sender, const WideString URL,
  34.       const HTMLElement *Element, const DocInput *DocInput,
  35.       WordBool &EnableDefault);
  36.     void __fastcall HTMLBeginRetrieval(TObject *Sender);
  37. private:    // User declarations
  38. public:        // User declarations
  39.     __fastcall TWebMain(TComponent* Owner);
  40. };
  41. //---------------------------------------------------------------------------
  42. extern PACKAGE TWebMain *WebMain;
  43. //---------------------------------------------------------------------------
  44. #endif
  45.